﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using HCMServices.GUI;
using HCMServices.DTO;
using Microsoft.Silverlight.Testing;

namespace HCMServices.Tests.GUITEST
{
    /// <summary>
    /// Unit test for MainPage class
    /// </summary>
    [TestClass]
    public class TestMainPage : SilverlightTest
    {
        private MainPage _mainpage = null;

        [TestInitialize]
        public void TestMainPagePrepare()
        {
            _mainpage = new MainPage();
        }

        /// <summary>
        /// Unit test for initialize MainPage is not successful!
        /// </summary>
        [TestMethod]
        public void PageNotCreate()
        {
            Assert.IsTrue(_mainpage == null);          
        }
    }
}
